﻿using software.Common.MVVM;

namespace project.B8.Models
{
    public class LoginInfo : ObservableObject
    {
        public LoginInfo(string? _UserName)
        {
            UserName = _UserName;
        }
        /// <summary>
        /// 账号框文本
        /// </summary>
        private string? userName;
        public string? UserName
        {
            get { return userName; }
            set
            {
                userName = value;
                this.RaisePropertyChanged();
            }
        }

        /// <summary>
        /// 密码框文本
        /// </summary>
        private string? password;
        public string? Password
        {
            get { return password; }
            set
            {
                password = value;
                RaisePropertyChanged();
            }
        }
    }
}
